package com.ai_chat.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;


@TableName("token_package")
public class TokenPackage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 套餐主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 套餐名称
     */
    private String packageName;

    /**
     * 套餐价格,单位分
     */
    private Integer packagePrice;

    /**
     * 套餐token
     */
    private Integer packageToken;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public Integer getPackagePrice() {
        return packagePrice;
    }

    public void setPackagePrice(Integer packagePrice) {
        this.packagePrice = packagePrice;
    }

    public Integer getPackageToken() {
        return packageToken;
    }

    public void setPackageToken(Integer packageToken) {
        this.packageToken = packageToken;
    }

    @Override
    public String toString() {
        return "TokenPackage{" +
            "id = " + id +
            ", packageName = " + packageName +
            ", packagePrice = " + packagePrice +
            ", packageToken = " + packageToken +
        "}";
    }
}
